#pragma once
#include "loadUtils.h"

/**
 * @brief Struct for storing config data
 */
struct ConfigVars{
	char *setting_string;
	int value;
};

extern int configCount;
/**
 * @brief Load config file into memory
 *
 * @param filename
 *
 * @param pata_ptr pointer to allocated memory
 *
 * @return return code
 */
int loadConfigs(char const *filename,struct ConfigVars **data_ptr);

/**
 * @brief save configdata to file
 *
 * @param filename
 *
 * @param pata_ptr pointer to allocated memory
 *
 * @return return code
 */
int writeConfigs(char const *filename,struct ConfigVars *data);
